package com.onlineclass.classserver.mapper;

import com.onlineclassbackstage.beans.Course;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseTeacherMapper {


    List<Course> selectCourseTeacher(@Param("uid") int uid); //查询老师的课程


    int insertCourseByTeacher(@Param("uid") int uid,@Param("course") Course course); //插入老师课程的关系表

    int insertCourse(@Param("course") Course course); //插入课程信息表




}
